package com.xinchengxd.gateway.service;

import com.xinchengxd.commons.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("service-user")
public interface UserService {
    @RequestMapping("user/token")
    ResponseResult<String> verify(@RequestParam String token);
}
